package com.yfp.device.domain;

import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;

public class AdPushRecordExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public AdPushRecordExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        protected void addCriterionForJDBCDate(String condition, Date value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value.getTime()), property);
        }

        protected void addCriterionForJDBCDate(String condition, List<Date> values, String property) {
            if (values == null || values.size() == 0) {
                throw new RuntimeException("Value list for " + property + " cannot be null or empty");
            }
            List<java.sql.Date> dateList = new ArrayList<java.sql.Date>();
            Iterator<Date> iter = values.iterator();
            while (iter.hasNext()) {
                dateList.add(new java.sql.Date(iter.next().getTime()));
            }
            addCriterion(condition, dateList, property);
        }

        protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property);
        }

        public Criteria andRecordNoIsNull() {
            addCriterion("record_no is null");
            return (Criteria) this;
        }

        public Criteria andRecordNoIsNotNull() {
            addCriterion("record_no is not null");
            return (Criteria) this;
        }

        public Criteria andRecordNoEqualTo(String value) {
            addCriterion("record_no =", value, "recordNo");
            return (Criteria) this;
        }

        public Criteria andRecordNoNotEqualTo(String value) {
            addCriterion("record_no <>", value, "recordNo");
            return (Criteria) this;
        }

        public Criteria andRecordNoGreaterThan(String value) {
            addCriterion("record_no >", value, "recordNo");
            return (Criteria) this;
        }

        public Criteria andRecordNoGreaterThanOrEqualTo(String value) {
            addCriterion("record_no >=", value, "recordNo");
            return (Criteria) this;
        }

        public Criteria andRecordNoLessThan(String value) {
            addCriterion("record_no <", value, "recordNo");
            return (Criteria) this;
        }

        public Criteria andRecordNoLessThanOrEqualTo(String value) {
            addCriterion("record_no <=", value, "recordNo");
            return (Criteria) this;
        }

        public Criteria andRecordNoLike(String value) {
            addCriterion("record_no like", value, "recordNo");
            return (Criteria) this;
        }

        public Criteria andRecordNoNotLike(String value) {
            addCriterion("record_no not like", value, "recordNo");
            return (Criteria) this;
        }

        public Criteria andRecordNoIn(List<String> values) {
            addCriterion("record_no in", values, "recordNo");
            return (Criteria) this;
        }

        public Criteria andRecordNoNotIn(List<String> values) {
            addCriterion("record_no not in", values, "recordNo");
            return (Criteria) this;
        }

        public Criteria andRecordNoBetween(String value1, String value2) {
            addCriterion("record_no between", value1, value2, "recordNo");
            return (Criteria) this;
        }

        public Criteria andRecordNoNotBetween(String value1, String value2) {
            addCriterion("record_no not between", value1, value2, "recordNo");
            return (Criteria) this;
        }

        public Criteria andMachineIdIsNull() {
            addCriterion("machine_id is null");
            return (Criteria) this;
        }

        public Criteria andMachineIdIsNotNull() {
            addCriterion("machine_id is not null");
            return (Criteria) this;
        }

        public Criteria andMachineIdEqualTo(String value) {
            addCriterion("machine_id =", value, "machineId");
            return (Criteria) this;
        }

        public Criteria andMachineIdNotEqualTo(String value) {
            addCriterion("machine_id <>", value, "machineId");
            return (Criteria) this;
        }

        public Criteria andMachineIdGreaterThan(String value) {
            addCriterion("machine_id >", value, "machineId");
            return (Criteria) this;
        }

        public Criteria andMachineIdGreaterThanOrEqualTo(String value) {
            addCriterion("machine_id >=", value, "machineId");
            return (Criteria) this;
        }

        public Criteria andMachineIdLessThan(String value) {
            addCriterion("machine_id <", value, "machineId");
            return (Criteria) this;
        }

        public Criteria andMachineIdLessThanOrEqualTo(String value) {
            addCriterion("machine_id <=", value, "machineId");
            return (Criteria) this;
        }

        public Criteria andMachineIdLike(String value) {
            addCriterion("machine_id like", value, "machineId");
            return (Criteria) this;
        }

        public Criteria andMachineIdNotLike(String value) {
            addCriterion("machine_id not like", value, "machineId");
            return (Criteria) this;
        }

        public Criteria andMachineIdIn(List<String> values) {
            addCriterion("machine_id in", values, "machineId");
            return (Criteria) this;
        }

        public Criteria andMachineIdNotIn(List<String> values) {
            addCriterion("machine_id not in", values, "machineId");
            return (Criteria) this;
        }

        public Criteria andMachineIdBetween(String value1, String value2) {
            addCriterion("machine_id between", value1, value2, "machineId");
            return (Criteria) this;
        }

        public Criteria andMachineIdNotBetween(String value1, String value2) {
            addCriterion("machine_id not between", value1, value2, "machineId");
            return (Criteria) this;
        }

        public Criteria andAdIdIsNull() {
            addCriterion("ad_id is null");
            return (Criteria) this;
        }

        public Criteria andAdIdIsNotNull() {
            addCriterion("ad_id is not null");
            return (Criteria) this;
        }

        public Criteria andAdIdEqualTo(String value) {
            addCriterion("ad_id =", value, "adId");
            return (Criteria) this;
        }

        public Criteria andAdIdNotEqualTo(String value) {
            addCriterion("ad_id <>", value, "adId");
            return (Criteria) this;
        }

        public Criteria andAdIdGreaterThan(String value) {
            addCriterion("ad_id >", value, "adId");
            return (Criteria) this;
        }

        public Criteria andAdIdGreaterThanOrEqualTo(String value) {
            addCriterion("ad_id >=", value, "adId");
            return (Criteria) this;
        }

        public Criteria andAdIdLessThan(String value) {
            addCriterion("ad_id <", value, "adId");
            return (Criteria) this;
        }

        public Criteria andAdIdLessThanOrEqualTo(String value) {
            addCriterion("ad_id <=", value, "adId");
            return (Criteria) this;
        }

        public Criteria andAdIdLike(String value) {
            addCriterion("ad_id like", value, "adId");
            return (Criteria) this;
        }

        public Criteria andAdIdNotLike(String value) {
            addCriterion("ad_id not like", value, "adId");
            return (Criteria) this;
        }

        public Criteria andAdIdIn(List<String> values) {
            addCriterion("ad_id in", values, "adId");
            return (Criteria) this;
        }

        public Criteria andAdIdNotIn(List<String> values) {
            addCriterion("ad_id not in", values, "adId");
            return (Criteria) this;
        }

        public Criteria andAdIdBetween(String value1, String value2) {
            addCriterion("ad_id between", value1, value2, "adId");
            return (Criteria) this;
        }

        public Criteria andAdIdNotBetween(String value1, String value2) {
            addCriterion("ad_id not between", value1, value2, "adId");
            return (Criteria) this;
        }

        public Criteria andAdTypeIsNull() {
            addCriterion("ad_type is null");
            return (Criteria) this;
        }

        public Criteria andAdTypeIsNotNull() {
            addCriterion("ad_type is not null");
            return (Criteria) this;
        }

        public Criteria andAdTypeEqualTo(Integer value) {
            addCriterion("ad_type =", value, "adType");
            return (Criteria) this;
        }

        public Criteria andAdTypeNotEqualTo(Integer value) {
            addCriterion("ad_type <>", value, "adType");
            return (Criteria) this;
        }

        public Criteria andAdTypeGreaterThan(Integer value) {
            addCriterion("ad_type >", value, "adType");
            return (Criteria) this;
        }

        public Criteria andAdTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("ad_type >=", value, "adType");
            return (Criteria) this;
        }

        public Criteria andAdTypeLessThan(Integer value) {
            addCriterion("ad_type <", value, "adType");
            return (Criteria) this;
        }

        public Criteria andAdTypeLessThanOrEqualTo(Integer value) {
            addCriterion("ad_type <=", value, "adType");
            return (Criteria) this;
        }

        public Criteria andAdTypeIn(List<Integer> values) {
            addCriterion("ad_type in", values, "adType");
            return (Criteria) this;
        }

        public Criteria andAdTypeNotIn(List<Integer> values) {
            addCriterion("ad_type not in", values, "adType");
            return (Criteria) this;
        }

        public Criteria andAdTypeBetween(Integer value1, Integer value2) {
            addCriterion("ad_type between", value1, value2, "adType");
            return (Criteria) this;
        }

        public Criteria andAdTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("ad_type not between", value1, value2, "adType");
            return (Criteria) this;
        }

        public Criteria andPalyBeginTimeIsNull() {
            addCriterion("paly_begin_time is null");
            return (Criteria) this;
        }

        public Criteria andPalyBeginTimeIsNotNull() {
            addCriterion("paly_begin_time is not null");
            return (Criteria) this;
        }

        public Criteria andPalyBeginTimeEqualTo(Date value) {
            addCriterionForJDBCDate("paly_begin_time =", value, "palyBeginTime");
            return (Criteria) this;
        }

        public Criteria andPalyBeginTimeNotEqualTo(Date value) {
            addCriterionForJDBCDate("paly_begin_time <>", value, "palyBeginTime");
            return (Criteria) this;
        }

        public Criteria andPalyBeginTimeGreaterThan(Date value) {
            addCriterionForJDBCDate("paly_begin_time >", value, "palyBeginTime");
            return (Criteria) this;
        }

        public Criteria andPalyBeginTimeGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("paly_begin_time >=", value, "palyBeginTime");
            return (Criteria) this;
        }

        public Criteria andPalyBeginTimeLessThan(Date value) {
            addCriterionForJDBCDate("paly_begin_time <", value, "palyBeginTime");
            return (Criteria) this;
        }

        public Criteria andPalyBeginTimeLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("paly_begin_time <=", value, "palyBeginTime");
            return (Criteria) this;
        }

        public Criteria andPalyBeginTimeIn(List<Date> values) {
            addCriterionForJDBCDate("paly_begin_time in", values, "palyBeginTime");
            return (Criteria) this;
        }

        public Criteria andPalyBeginTimeNotIn(List<Date> values) {
            addCriterionForJDBCDate("paly_begin_time not in", values, "palyBeginTime");
            return (Criteria) this;
        }

        public Criteria andPalyBeginTimeBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("paly_begin_time between", value1, value2, "palyBeginTime");
            return (Criteria) this;
        }

        public Criteria andPalyBeginTimeNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("paly_begin_time not between", value1, value2, "palyBeginTime");
            return (Criteria) this;
        }

        public Criteria andPlayEndTimeIsNull() {
            addCriterion("play_end_time is null");
            return (Criteria) this;
        }

        public Criteria andPlayEndTimeIsNotNull() {
            addCriterion("play_end_time is not null");
            return (Criteria) this;
        }

        public Criteria andPlayEndTimeEqualTo(Date value) {
            addCriterionForJDBCDate("play_end_time =", value, "playEndTime");
            return (Criteria) this;
        }

        public Criteria andPlayEndTimeNotEqualTo(Date value) {
            addCriterionForJDBCDate("play_end_time <>", value, "playEndTime");
            return (Criteria) this;
        }

        public Criteria andPlayEndTimeGreaterThan(Date value) {
            addCriterionForJDBCDate("play_end_time >", value, "playEndTime");
            return (Criteria) this;
        }

        public Criteria andPlayEndTimeGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("play_end_time >=", value, "playEndTime");
            return (Criteria) this;
        }

        public Criteria andPlayEndTimeLessThan(Date value) {
            addCriterionForJDBCDate("play_end_time <", value, "playEndTime");
            return (Criteria) this;
        }

        public Criteria andPlayEndTimeLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("play_end_time <=", value, "playEndTime");
            return (Criteria) this;
        }

        public Criteria andPlayEndTimeIn(List<Date> values) {
            addCriterionForJDBCDate("play_end_time in", values, "playEndTime");
            return (Criteria) this;
        }

        public Criteria andPlayEndTimeNotIn(List<Date> values) {
            addCriterionForJDBCDate("play_end_time not in", values, "playEndTime");
            return (Criteria) this;
        }

        public Criteria andPlayEndTimeBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("play_end_time between", value1, value2, "playEndTime");
            return (Criteria) this;
        }

        public Criteria andPlayEndTimeNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("play_end_time not between", value1, value2, "playEndTime");
            return (Criteria) this;
        }

        public Criteria andPushTimeIsNull() {
            addCriterion("push_time is null");
            return (Criteria) this;
        }

        public Criteria andPushTimeIsNotNull() {
            addCriterion("push_time is not null");
            return (Criteria) this;
        }

        public Criteria andPushTimeEqualTo(Date value) {
            addCriterionForJDBCDate("push_time =", value, "pushTime");
            return (Criteria) this;
        }

        public Criteria andPushTimeNotEqualTo(Date value) {
            addCriterionForJDBCDate("push_time <>", value, "pushTime");
            return (Criteria) this;
        }

        public Criteria andPushTimeGreaterThan(Date value) {
            addCriterionForJDBCDate("push_time >", value, "pushTime");
            return (Criteria) this;
        }

        public Criteria andPushTimeGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("push_time >=", value, "pushTime");
            return (Criteria) this;
        }

        public Criteria andPushTimeLessThan(Date value) {
            addCriterionForJDBCDate("push_time <", value, "pushTime");
            return (Criteria) this;
        }

        public Criteria andPushTimeLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("push_time <=", value, "pushTime");
            return (Criteria) this;
        }

        public Criteria andPushTimeIn(List<Date> values) {
            addCriterionForJDBCDate("push_time in", values, "pushTime");
            return (Criteria) this;
        }

        public Criteria andPushTimeNotIn(List<Date> values) {
            addCriterionForJDBCDate("push_time not in", values, "pushTime");
            return (Criteria) this;
        }

        public Criteria andPushTimeBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("push_time between", value1, value2, "pushTime");
            return (Criteria) this;
        }

        public Criteria andPushTimeNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("push_time not between", value1, value2, "pushTime");
            return (Criteria) this;
        }

        public Criteria andPushStatusIsNull() {
            addCriterion("push_status is null");
            return (Criteria) this;
        }

        public Criteria andPushStatusIsNotNull() {
            addCriterion("push_status is not null");
            return (Criteria) this;
        }

        public Criteria andPushStatusEqualTo(Integer value) {
            addCriterion("push_status =", value, "pushStatus");
            return (Criteria) this;
        }

        public Criteria andPushStatusNotEqualTo(Integer value) {
            addCriterion("push_status <>", value, "pushStatus");
            return (Criteria) this;
        }

        public Criteria andPushStatusGreaterThan(Integer value) {
            addCriterion("push_status >", value, "pushStatus");
            return (Criteria) this;
        }

        public Criteria andPushStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("push_status >=", value, "pushStatus");
            return (Criteria) this;
        }

        public Criteria andPushStatusLessThan(Integer value) {
            addCriterion("push_status <", value, "pushStatus");
            return (Criteria) this;
        }

        public Criteria andPushStatusLessThanOrEqualTo(Integer value) {
            addCriterion("push_status <=", value, "pushStatus");
            return (Criteria) this;
        }

        public Criteria andPushStatusIn(List<Integer> values) {
            addCriterion("push_status in", values, "pushStatus");
            return (Criteria) this;
        }

        public Criteria andPushStatusNotIn(List<Integer> values) {
            addCriterion("push_status not in", values, "pushStatus");
            return (Criteria) this;
        }

        public Criteria andPushStatusBetween(Integer value1, Integer value2) {
            addCriterion("push_status between", value1, value2, "pushStatus");
            return (Criteria) this;
        }

        public Criteria andPushStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("push_status not between", value1, value2, "pushStatus");
            return (Criteria) this;
        }

        public Criteria andSetStatusIsNull() {
            addCriterion("set_status is null");
            return (Criteria) this;
        }

        public Criteria andSetStatusIsNotNull() {
            addCriterion("set_status is not null");
            return (Criteria) this;
        }

        public Criteria andSetStatusEqualTo(Integer value) {
            addCriterion("set_status =", value, "setStatus");
            return (Criteria) this;
        }

        public Criteria andSetStatusNotEqualTo(Integer value) {
            addCriterion("set_status <>", value, "setStatus");
            return (Criteria) this;
        }

        public Criteria andSetStatusGreaterThan(Integer value) {
            addCriterion("set_status >", value, "setStatus");
            return (Criteria) this;
        }

        public Criteria andSetStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("set_status >=", value, "setStatus");
            return (Criteria) this;
        }

        public Criteria andSetStatusLessThan(Integer value) {
            addCriterion("set_status <", value, "setStatus");
            return (Criteria) this;
        }

        public Criteria andSetStatusLessThanOrEqualTo(Integer value) {
            addCriterion("set_status <=", value, "setStatus");
            return (Criteria) this;
        }

        public Criteria andSetStatusIn(List<Integer> values) {
            addCriterion("set_status in", values, "setStatus");
            return (Criteria) this;
        }

        public Criteria andSetStatusNotIn(List<Integer> values) {
            addCriterion("set_status not in", values, "setStatus");
            return (Criteria) this;
        }

        public Criteria andSetStatusBetween(Integer value1, Integer value2) {
            addCriterion("set_status between", value1, value2, "setStatus");
            return (Criteria) this;
        }

        public Criteria andSetStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("set_status not between", value1, value2, "setStatus");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterionForJDBCDate("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterionForJDBCDate("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterionForJDBCDate("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterionForJDBCDate("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterionForJDBCDate("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterionForJDBCDate("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andPalyAdPositionIsNull() {
            addCriterion("paly_ad_position is null");
            return (Criteria) this;
        }

        public Criteria andPalyAdPositionIsNotNull() {
            addCriterion("paly_ad_position is not null");
            return (Criteria) this;
        }

        public Criteria andPalyAdPositionEqualTo(Integer value) {
            addCriterion("paly_ad_position =", value, "palyAdPosition");
            return (Criteria) this;
        }

        public Criteria andPalyAdPositionNotEqualTo(Integer value) {
            addCriterion("paly_ad_position <>", value, "palyAdPosition");
            return (Criteria) this;
        }

        public Criteria andPalyAdPositionGreaterThan(Integer value) {
            addCriterion("paly_ad_position >", value, "palyAdPosition");
            return (Criteria) this;
        }

        public Criteria andPalyAdPositionGreaterThanOrEqualTo(Integer value) {
            addCriterion("paly_ad_position >=", value, "palyAdPosition");
            return (Criteria) this;
        }

        public Criteria andPalyAdPositionLessThan(Integer value) {
            addCriterion("paly_ad_position <", value, "palyAdPosition");
            return (Criteria) this;
        }

        public Criteria andPalyAdPositionLessThanOrEqualTo(Integer value) {
            addCriterion("paly_ad_position <=", value, "palyAdPosition");
            return (Criteria) this;
        }

        public Criteria andPalyAdPositionIn(List<Integer> values) {
            addCriterion("paly_ad_position in", values, "palyAdPosition");
            return (Criteria) this;
        }

        public Criteria andPalyAdPositionNotIn(List<Integer> values) {
            addCriterion("paly_ad_position not in", values, "palyAdPosition");
            return (Criteria) this;
        }

        public Criteria andPalyAdPositionBetween(Integer value1, Integer value2) {
            addCriterion("paly_ad_position between", value1, value2, "palyAdPosition");
            return (Criteria) this;
        }

        public Criteria andPalyAdPositionNotBetween(Integer value1, Integer value2) {
            addCriterion("paly_ad_position not between", value1, value2, "palyAdPosition");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}